#pragma once

#include <QWidget>
#include <QToolButton>
#include <QLabel>
#include <QHBoxLayout>
#include "ui_CTitleBarWidget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class CTitleBarWidgetClass; };
QT_END_NAMESPACE

class CTitleBarWidget : public QWidget
{
	Q_OBJECT

public:
	CTitleBarWidget(QWidget* parent = nullptr);
	~CTitleBarWidget();
private:
	Ui::CTitleBarWidgetClass* ui;
	QToolButton* m_pBackButton;
public:
	QToolButton* backButton() const
	{
		return m_pBackButton;
	}
};
